package EveryDayPractice;

import java.util.ArrayList;
import java.util.Scanner;

public class Practice26 {
     public static void main(String[] args) {
         ArrayList<String> list = new ArrayList<String>();
         list.add("monday");
         list.add("tuesday");
         list.add("wednesday");
         list.add("thursday");
         list.add("friday");
         list.add("saturday");
         list.add("sunday");
         Scanner sc = new Scanner(System.in);
         char ch = sc.next().charAt(0);
         char ss=sc.next().charAt(0);
         for (String s:list) {
             if(s.charAt(0)==ch)
             {

                 if(s.charAt(1)==ss)
                 {
                     System.out.println("今天是"+s);
                 }
             }
         }
     }
}
